<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>商城</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta http-equiv="cache-control" content="no-cache, must-revalidate">
    <meta http-equiv="expires" content="wed, 26 Feb 1997 08:21:57 GMT">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/waitingPay.css">
    <style type="text/css">
        body{background-color: white}
    </style>
</head>
<body>
    <nav class="shop"><img class="inline-block" src="img/banner.png"></nav>
    <div class="waitingPay">
            <article id="waitingPay" class="waitingPay">收货地址<span class="close_pay">X</span></article>
            <table>
                <tr>
                    <td class="firstTd">收货人</td>
                    <td class="firstTd"><input  type="text" class="inputStyle" placeholder="名字"></td>
                </tr>
                <tr>
                    <td>联系电话</td>
                    <td><input type="text" class="inputStyle" placeholder="联系电话"></td>
                </tr>
                <tr>
                    <td>选择地区</td>
                    <td>
                        <select class="select_none">
                            <option value="-请选择-">-请选择-</option>
                            <option value="北京">北京</option>
                            <option value="上海">上海</option>
                            <option value="广州">广州</option>
                        </select>
                        <select class="select_none">
                            <option value="-请选择-">-请选择-</option>
                            <option value="海淀区">海淀区</option>
                            <option value="朝阳区">朝阳区</option>
                            <option value="大兴">大兴</option>
                            <option value="东城">东城</option>
                        </select>
                        <select class="select_none">
                            <option value="-请选择-">-请选择-</option>
                            <option value="潘家园">潘家园</option>
                            <option value="双井">双井</option>
                            <option value="国贸">国贸</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>详细地址</td>
                    <td><input type="text" class="inputStyle" placeholder="详细地址"></td>
                </tr>
                <tr>
                    <td>邮政编码</td>
                    <td><input type="text" class="inputStyle" placeholder="邮政编码"></td>
                </tr>
                <tr>
                    <td class="lastTd" colspan="2">
                        <button class="saveBtn">保存</button>
                    </td>
                </tr>
            </table>
    </div>
</body>
<script src="js/zepto.min.js"></script>
<script>
    document.addEventListener("touchstart",function(){
            var e=e||window.event;
            var oD2=document.getElementById("waitingPay");
            var target=e.srcElement||e.target;
            if(oD2.contains(target)){
                console.log("内部");
            }else{
                console.log("外部");
            }
    });
</script>
</html>